<template>
  <div class="layui-breadcrumb" :lay-separator="separator">
    <slot></slot>
  </div>
</template>

<script>
import element from "../element";

export default {
  name: "Breadcrumb",
  props: {
    separator: {
      type: String,
      default: "/"
    }
  },
  updated() {
    this.$nextTick(() => {
      element.render("breadcrumb");
    });
  }
};
</script>

<style scoped>

</style>